# Contributor: 7heo <7heo@mail.com>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=homebank
pkgver=5.7.4
pkgrel=0
pkgdesc="Free personal finance software, money management"
url="http://homebank.free.fr"
arch="all"
license="GPL-2.0-or-later"
makedepends="gtk+3.0-dev libsoup3-dev libofx-dev intltool"
options="!check" # no test suite
subpackages="$pkgname-lang"
source="http://homebank.free.fr/public/sources/homebank-$pkgver.tar.gz"

build() {
	./configure \
		--host=$CHOST \
		--build=$CBUILD \
		--prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
d65127b49a7566f5ad88feb8c614883c43e322ea50d915e49691b169771fac222573da4988ab1c54d9f39b9dfdf2d724cba07269e093c67a04900828d0b87093  homebank-5.7.4.tar.gz
"
